# 第四章 实训1：
user = {"2006090105912":"user1",138649756859:"user2",334697884:"user3"}
password = {"user1":"xh123456","user2":"ai887755","user3":"123456789"}
while True:
    user_name = input("账号:")
    user_password = input("密码:")
    if user_name in user:
        if password["2006090105912"] == user_password:
            print("登录成功")
            break
        else:
            print("用户名或密码错误，请重试")
    else:
        print("用户名不存在")